/*
 * Reciver.h
 *
 *  Created on: 26-11-2013
 *      Author: Tomasz Lis
 */

#ifndef RECIVER_H_
#define RECIVER_H_

#include <omnetpp.h>
#include <csimplemodule.h>
#include <packet_m.h>

class Reciver: public cSimpleModule {
public:
    simtime_t lastPacketTime;
    cLongHistogram histogram;
    cOutVector vector;
    cLongHistogram histogramGD;
    cOutVector vectorGD;
    cLongHistogram histogramGD1;
    cOutVector vectorGD1;
    cLongHistogram histogramGD3;
    cOutVector vectorGD3;
    Reciver();
    virtual ~Reciver();
    virtual void initialyze();
    virtual void handleMessage(cMessage *message);
    virtual void finish();
};

Define_Module(Reciver);

#endif /* RECIVER_H_ */
